
package com.laoli.myspringboottest.model.xml;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * <p>anonymous complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>{@code
 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{http://www.iredes.org/xml}GenHead"/>
 *         <element ref="{http://www.iredes.org/xml}PlanId"/>
 *         <element ref="{http://www.iredes.org/xml}PlanName"/>
 *         <element ref="{http://www.iredes.org/xml}Comment"/>
 *         <element ref="{http://www.iredes.org/xml}Project"/>
 *       </sequence>
 *       <attribute name="IRDownwCompat" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="IRVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * }</pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "genHead",
    "planId",
    "planName",
    "comment",
    "project"
})
@XmlRootElement(name = "DrillPosPlan", namespace = "http://www.iredes.org/xml/DrillRig")
public class DrillPosPlan {

    @XmlElement(name = "GenHead", namespace = "http://www.iredes.org/xml", required = true)
    protected GenHead genHead;
    @XmlElement(name = "PlanId", namespace = "http://www.iredes.org/xml", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "NMTOKEN")
    protected String planId;
    @XmlElement(name = "PlanName", namespace = "http://www.iredes.org/xml", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "NMTOKEN")
    protected String planName;
    @XmlElement(name = "Comment", namespace = "http://www.iredes.org/xml", required = true)
    protected String comment;
    @XmlElement(name = "Project", namespace = "http://www.iredes.org/xml", required = true)
    protected String project;
    @XmlAttribute(name = "IRDownwCompat", required = true)
    @XmlSchemaType(name = "anySimpleType")
    protected String irDownwCompat;
    @XmlAttribute(name = "IRVersion", required = true)
    @XmlSchemaType(name = "anySimpleType")
    protected String irVersion;

    /**
     * 获取genHead属性的值。
     * 
     * @return
     *     possible object is
     *     {@link GenHead }
     *     
     */
    public GenHead getGenHead() {
        return genHead;
    }

    /**
     * 设置genHead属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link GenHead }
     *     
     */
    public void setGenHead(GenHead value) {
        this.genHead = value;
    }

    /**
     * 获取planId属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPlanId() {
        return planId;
    }

    /**
     * 设置planId属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPlanId(String value) {
        this.planId = value;
    }

    /**
     * 获取planName属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPlanName() {
        return planName;
    }

    /**
     * 设置planName属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPlanName(String value) {
        this.planName = value;
    }

    /**
     * 获取comment属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getComment() {
        return comment;
    }

    /**
     * 设置comment属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setComment(String value) {
        this.comment = value;
    }

    /**
     * 获取project属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getProject() {
        return project;
    }

    /**
     * 设置project属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setProject(String value) {
        this.project = value;
    }

    /**
     * 获取irDownwCompat属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIRDownwCompat() {
        return irDownwCompat;
    }

    /**
     * 设置irDownwCompat属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIRDownwCompat(String value) {
        this.irDownwCompat = value;
    }

    /**
     * 获取irVersion属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIRVersion() {
        return irVersion;
    }

    /**
     * 设置irVersion属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIRVersion(String value) {
        this.irVersion = value;
    }

}
